package com.guanjia.entity.vo;

/*
* 众筹
* */

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

/*我参与的众筹项目*/
public class CrowdFundingVo {
    private Integer id;
    private Integer userid;
    private Integer crowdid;
    private double money; // 项目总额
    private double mymoney; //我投资的钱
    private double nowmoney;//现筹款
    private String projectname;//项目名称
    private Date endtime;//结束时间
    private String imgPath;

    public CrowdFundingVo(Integer id, Integer user_id, Integer crowd_id, double money, double mymoney, double nowmoney, String projectname, Date endtime, String imgPath) {
        this.id = id;
        this.userid = user_id;
        this.crowdid = crowd_id;
        this.money = money;
        this.mymoney = mymoney;
        this.nowmoney = nowmoney;
        this.projectname = projectname;
        this.endtime = endtime;
        this.imgPath = imgPath;
    }

    public CrowdFundingVo() {
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public Integer getCrowd_id() {
        return crowdid;
    }

    public void setCrowd_id(Integer crowd_id) {
        this.crowdid = crowd_id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return userid;
    }

    public void setUser_id(Integer user_id) {
        this.userid = user_id;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public double getMymoney() {
        return mymoney;
    }

    public void setMymoney(double mymoney) {
        this.mymoney = mymoney;
    }

    public double getNowmoney() {
        return nowmoney;
    }

    public void setNowmoney(double nowmoney) {
        this.nowmoney = nowmoney;
    }

    public String getProjectname() {
        return projectname;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    @Override
    public String toString() {
        return "CrowdFundingVo{" +
                "id=" + id +
                ", user_id=" + userid +
                ", crowd_id=" + crowdid +
                ", money=" + money +
                ", mymoney=" + mymoney +
                ", nowmoney=" + nowmoney +
                ", projectname='" + projectname + '\'' +
                ", endtime=" + endtime +
                ", imgPath='" + imgPath + '\'' +
                '}';
    }
}
